package entity.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2023-02-28
 */
@Getter
@Setter
@TableName("tb_deduction")
@ApiModel(value = "Deduction对象", description = "抵扣管理")
public class Deduction implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("de_id")
    private Integer deId;

    @ApiModelProperty("标题 比如：骑行折扣")
    @TableField("de_title")
    private String deTitle;

    @ApiModelProperty("折扣标准 1公里抵扣多少钱")
    @TableField("de_standard")
    private Integer deStandard;

    @ApiModelProperty("适用类型 对应前台我的里程页面的类型的ID")
    @TableField("de_type")
    private Integer deType;

    @ApiModelProperty("是否上架 1：上架")
    @TableField("de_state")
    private Integer deState;

    @ApiModelProperty("在数据处理的时候传入当前时间")
    @TableField("de_create")
    private LocalDateTime deCreate;

    @ApiModelProperty("1：已删除")
    @TableField("deleted")
    private Integer deleted;


}
